package singleton;

public class SingletonInstance {
	public static void main(String[] args) {
		System.out.println(SingletonEnum.Instance.hashCode());
		System.out.println(SingletonEnum.Instance.hashCode());
		System.out.println(SingletonEnum.Instance.hashCode());
	}
}

enum SingletonEnum {
	Instance;
	public void t1(){
		System.out.println("t1");
	}
}
